#ifndef TERRAIN_SURFACE_H
#define TERRAIN_SURFACE_H

#include "terrain_Vertex.h"
#include "terrain_Patch.h"
#include "Renderer.h"
#include <vector>

namespace terrain {

class Surface
{
public:
    Surface();
    ~Surface();

    void Init(int rows, int columns, int patchSize);
    void Destroy();

    void Render (Renderer *renderer);

private:

    std::vector<Vertex*> m_Vertexes;
    std::vector<Patch*> m_Patches;
};

}

#endif // TERRAIN_SURFACE_H
